 
-----------------------------
Generating Binomial N samples
p =  0.999 N =  10
  
  Generating Binomial Distribution samples.
  Date and time plus nanoseconds
Wed Jun 18 19:12:23 EDT 2014
165116442
  
[1] 0.999
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] -0.00002870 -0.00054790 -0.00784778 -0.09996143
[1] "Relative difference of empirical moments from theoretical ones:"
[1] -2.872873e-06 -5.489425e-06 -7.869086e-06 -1.003059e-05
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] -5.536094e-16  2.552518e-05 -1.914327e-05  7.812500e-06
[1] "Relative difference of empirical central moments from theoretical ones (except first):"
[1]  2.557374e-07 -1.919525e-08  7.839425e-10
                         test    P.value KS.test
1                  Chi Square 0.09090224  Passed
2            Likelihood Ratio 0.09090224  Passed
3               Freeman-Tukey 0.42609134  Passed
4 Power Divergence (lambda=2) 0.29558609  Passed
[1] 0.999
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] -0.00002870 -0.00054790 -0.00784778 -0.09996143
[1] "Relative difference of empirical moments from theoretical ones:"
[1] -2.872873e-06 -5.489425e-06 -7.869086e-06 -1.003059e-05
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] -5.536094e-16  2.552518e-05 -1.914327e-05  7.812500e-06

	One-sample Kolmogorov-Smirnov test

data:  bin.unif
D = 0.0004, p-value = 0.2873
alternative hypothesis: two-sided

